//==============================================================================
// Hesperides Tree_anim.txt
//==============================================================================

import Construction_defines_anim.txt

//==============================================================================
define empower
{
    SetSelector
    {
        EmpowerLogic
		set hotspot
		{
			version
			{
				Visualnone Jimmy
			}
		}
		set hotspot
		{
			version
			{
				Visualparticle SFX E Pharaoh Empower Large
			}
		}
    }
}

//==============================================================================
define pulse
{
   set hotspot
   {
      version
      {
         Visualparticle SFX X Hesperides pulse
      }
   }
}

//==============================================================================
define Fire
{
	SetSelector
	{
		containLogic
		set hotspot
		{
			version
			{
				visualnone bimmy
			}
		}
		set hotspot
		{
			version
			{
				Visualparticle SFX X Lampades torch
			}
		}
	}
}

//==============================================================================
define Ring
{
	set hotspot
	{
		version
		{
			Visualparticle sfx x theia hesperides ring
		}
	}
}

//==============================================================================
define Glow
{
	set hotspot
	{
		version
		{
			Visualparticle SFX X Sky Passage Glow
		}
	}
}

//==============================================================================
define Butter
{
	SetSelector
	{
		containLogic
		set hotspot
		{
			version
			{
				visualnone bimmy
			}
		}
		set hotspot
		{
			version
			{
				Visualparticle SFX X Gaia Butterfly
			}
		}
	}
}

//==============================================================================
define Buttertoo
{
	SetSelector
	{
		containLogic
		set hotspot
		{
			version
			{
				visualnone bimmy
			}
		}
		set hotspot
		{
			version
			{
				Visualparticle SFX X Gaia Butterflytoo
			}
		}
	}
}

//==============================================================================
define Charge
{
	set hotspot
	{
		version
		{
			Visualparticle SFX X Gaia Charge
		}
	}
}

//==============================================================================
define Chargeingame
{
	set hotspot
	{
		version
		{
			Visualparticle SFX X Gaia Charge ingame
		}
	}
}

//==============================================================================
define Blast
{
	set hotspot
	{
		version
		{
			Visualparticle SFX X Gaia Blast
		}
	}
}

//==============================================================================
define Blastingame
{
	set hotspot
	{
		version
		{
			Visualparticle SFX X Gaia Blast ingame
		}
	}
}

//==============================================================================
define HesperidesDeath
{
	SetSelector
	{
		set hotspot
		{
			version
			{
				Visual GP X Hesperides Tree_idleA
				connect GarrisonFlag fire hotspot
			}
		}
	}
}

//==============================================================================
anim Birth
{
	SetSelector
	{
		set hotspot
		{
			version
			{
				Visual GP X Hesperides Tree_birthA
				connect ATTACHPOINT empower hotspot
				connect HOTSPOT glow hotspot
				connect HOTSPOT pulse hotspot
				//connect HOTSPOT ring hotspot
				//connect GarrisonFlag fire hotspot
				//connect GarrisonFlag butter hotspot
			}
		}
	}
}

//==============================================================================
anim Idle
{
	SetSelector
	{
		set hotspot
		{
			version
			{
				Visual GP X Hesperides Tree_idleA
				connect ATTACHPOINT empower hotspot
				connect HOTSPOT ring hotspot
				connect GarrisonFlag fire hotspot
				connect GarrisonFlag butter hotspot
			}
		}
	}
}

//==============================================================================
anim Heal
{
	SetSelector
	{
		set hotspot
		{
			version
			{
				Visual GP X Hesperides Tree_idleA
				connect ATTACHPOINT empower hotspot
				connect HOTSPOT ring hotspot
				connect GarrisonFlag fire hotspot
				connect GarrisonFlag butter hotspot
				connect HOTSPOT pulse hotspot
				Length 1.00
			}
		}
	}
}

//==============================================================================
//anim RangedAttack
//{
//	SetSelector
//	{
//		set hotspot
//		{
//			version
//			{
//				Visual GP X Hesperides Tree_idleA
//                tag Attack 0.75 true
//                tag GenericSound 0.75 true
//				tag SpecificSoundSet 0.01 false LampadesShoot checkVisible
//				connect ATTACHPOINT empower hotspot
//				connect HOTSPOT ring hotspot
//				connect HOTSPOT chargeingame hotspot
//				connect LAUNCHPOINT blastingame hotspot
//				connect GarrisonFlag fire hotspot
//				connect GarrisonFlag buttertoo hotspot
//				Length 1.25
//			}
//		}
//	}
//}

//==============================================================================
// (used to be anim charging)

anim RangedAttack
{
	SetSelector
	{
		set hotspot
		{
			version
			{
				Visual GP X Hesperides Tree_idleA
                tag Attack 0.33 true
                tag Attack 0.50 true
                tag Attack 0.67 true
                tag GenericSound 0.37 true
                tag GenericSound 0.55 true
                tag GenericSound 0.72 true
				tag SpecificSoundSet 0.01 false HesperidesChargeAttack checkVisible
				connect ATTACHPOINT empower hotspot
				connect HOTSPOT ring hotspot
				connect HOTSPOT charge hotspot
				connect LAUNCHPOINT blast hotspot
				connect GarrisonFlag fire hotspot
				connect GarrisonFlag buttertoo hotspot
				Length 3.00
			}
		}				 
	}
}

//==============================================================================
anim Death
{
	SetSelector
	{
		set hotspot
		{
			version
			{
				Visual GenericDestruction
				connect FOREHEAD HesperidesDeath hotspot
				//connect Smoke0 Dust hotspot
				connect Smoke1 Dust hotspot
				connect Smoke2 Dust hotspot
				connect Smoke3 Dust hotspot
			}
		}
	}
}
